<!DOCTYPE html>
<html lang="en" style="height:100%">
	<head>
		<meta charset="utf-8"></meta>
		<title>商铺信息</title>
		<script th:inline="javascript">
			window.rootPath = /*[[${#httpServletRequest.getContextPath()}]]*/
		</script>
		<link rel="stylesheet" type="text/css" media="all" th:href="@{/plugins/bootstrap/bootstrap.min.css}" />
		<script th:src="@{/plugins/jQuery/jQuery-2.1.4.min.js}"></script>
		<script th:src="@{/plugins/bootstrap/bootstrap.min.js}"></script>
		<script th:src="@{/plugins/jQuery/moment/moment.min.js}"></script>
		<script th:src="@{/plugins/jQuery/jquery.raty2.js}"></script>
		<link rel="stylesheet" type="text/css" media="all" th:href="@{/plugins/MapIndex/stylesheets/QTouchIndexPartsStyle.css}" />
	</head>
	<body class="qTouchIndexBackground">
		<ul id="myTab" class="nav nav-tabs">
			<li class="active">
				<a href="#baseMsg" data-toggle="tab">
					 基本信息
				</a>
			</li>
			<li>
				<a href="#InspectionMsg" data-toggle="tab">巡检信息</a>
			</li>
			<li>
				<a href="#CheckMsg" data-toggle="tab">核检信息</a>
			</li>
		</ul>
		<div id="myTabContent" class="tab-content">
			<input type="hidden" id="shopId" th:value="${shopId}"/>
			<div class="tab-pane fade in active" id="baseMsg">
				<form class="form-horizontal" role="form">
				  <div class="form-group">
				  	<div class="col-sm-6">
				  		<div class="form-group">
						    <label class="col-sm-4 control-label">认证信息</label>
						    <div class="col-sm-8">
								<img id="infoState" style="width: 35%;" src="" />
						    </div>
						</div>
					    <div class="form-group">
						    <label class="col-sm-4 control-label">商铺名称</label>
						    <div class="col-sm-8">
						    		<input type="text" class="form-control indexPartsInput" id="shopName" value=""/>
					    		</div>
						</div>
						<div class="form-group">
							<label class="col-sm-4 control-label">诚信评价</label>
							<div class="col-sm-8" id="divstar">
								<div id="stardiv"></div>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-4 control-label">签订人</label>
							<div class="col-sm-8">
								<input type="text" class="form-control indexPartsInput" id="signPerson" value=""/>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-4 control-label">签订人电话</label>
							<div class="col-sm-8">
								<input type="text" class="form-control indexPartsInput" id="signPersonPhone" value=""/>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-4 control-label">保洁员</label>
							<div class="col-sm-8">
								<input type="text" class="form-control indexPartsInput" id="cleaningPerson" value=""/>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-4 control-label">保洁员电话</label>
							<div class="col-sm-8">
								<input type="text" class="form-control indexPartsInput" id="cleaningPersonPhone" value=""/>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-4 control-label">经营地址</label>
							<div class="col-sm-8">
								<textarea class="form-control indexPartsInput" id="shopAdress"></textarea>
							</div>
						</div>
					</div>
				    <div class="col-sm-6">
				    		<div class="form-group">
							<label class="col-sm-4 control-label">经营类别</label>
							<div class="col-sm-8">
								<input type="text" class="form-control indexPartsInput" id="managementRange" value=""/>
							</div>
						</div>
				    		<div class="form-group">
							<label class="col-sm-4 control-label">社区管理人员</label>
							<div class="col-sm-8">
								<input type="text" class="form-control indexPartsInput" id="areaMperson" value=""/>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-4 control-label">责任范围</label>
							<div class="col-sm-8">
								<textarea class="form-control indexPartsInput" id="areaMeasure"></textarea>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-4 control-label">备注</label>
							<div class="col-sm-8">
								<textarea class="form-control indexPartsInput" id="memo"></textarea>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-4 control-label">商铺实景</label>
							<div class="col-sm-8">
								<img src="" width="100px" height="130px" class="img-responsive" id="iconAddress"/>
							</div>
						</div>
				    </div>
				  </div>
				  
				</form>
			</div>
			<div class="tab-pane fade" id="InspectionMsg">
				<form class="form-horizontal" role="form">
					<div class="form-group">
					  	<div class="col-sm-6">
					  		<div class="form-group">
							    <label class="col-sm-4 control-label">巡检记录</label>
							    <div class="col-sm-8">
							    		<table class="table">
									   <thead>
									      <tr>
									         <th>日期</th>
									         <th>巡检人</th>
									         <th>巡检状况</th>
									      </tr>
									   </thead>
									   <tbody id="Inspection">
									   </tbody>
									</table>
							    </div>
							</div>
						</div>
					  	<div class="col-sm-6">
					  		<div class="form-group">
							    <label class="col-sm-4 control-label">巡检历史</label>
							    <div class="col-sm-8">
							    		<table class="table">
									   <thead>
									      <tr>
									         <th>日期</th>
									         <th>巡检人</th>
									         <th>巡检状况</th>
									      </tr>
									   </thead>
									   <tbody id="InspectionHistory">
									      
									   </tbody>
									</table>
							    </div>
							</div>
						</div>
					</div>
				</form>
			</div>
			<div class="tab-pane fade" id="CheckMsg">
				<form class="form-horizontal" role="form">
					<div class="form-group">
					  	<div class="col-sm-12">
					  		<div class="form-group">
							    <label class="col-sm-2 control-label">核检历史</label>
							    <div class="col-sm-10">
							    		<table class="table">
									   <thead>
									      <tr>
									         <th>日期</th>
									         <th>核检人</th>
									         <th>考核情况</th>
									         <th>整改情况</th>
									         <th>备注</th>
									      </tr>
									   </thead>
									   <tbody id="CheckHistory">
									      
									   </tbody>
									</table>
							    </div>
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
		<script th:src="@{/index/indexInfo/QTouchIndexShopMsg.js}"></script>
	</body>
</html>